package hw_7_24;

public class Enum_Demo1 {
    public enum WeekdayEnum{
        MON,TUE,WED,THU,FRI,SAT,SUN;
    }

    public static void main(String[] args) {
        WeekdayEnum t = WeekdayEnum.SAT;
        System.out.println(t);
        switch (t){
            case MON,TUE,WED,THU,FRI:
                System.out.println("工作日，努力写代码！");
                break;
            default:
                System.out.println("休息日，尽情嗨皮！");
        }
    }
}
